package com.smarthealthring.mm.bean;

/**
 * 个人信息更新
 * Created by bilibili on 2018/5/26.
 */
public class SyncDataRes {


    /**
     * sleep : {"hasvalue":"2","starttime":"","endtime":"","alltime":""}
     * hr : {"hasvalue":"1","time":"1528096500000","xinlvvalue":"56"}
     * walk : {"hasvalue":"1","time":"1528096612000","status":"0","walkvalue":"3744","kaluli":"182.72","walkkm":"2.61"}
     */

    private SleepBean sleep;
    private HrBean hr;
    private WalkBean walk;

    public SleepBean getSleep() {
        return sleep;
    }

    public void setSleep(SleepBean sleep) {
        this.sleep = sleep;
    }

    public HrBean getHr() {
        return hr;
    }

    public void setHr(HrBean hr) {
        this.hr = hr;
    }

    public WalkBean getWalk() {
        return walk;
    }

    public void setWalk(WalkBean walk) {
        this.walk = walk;
    }

    public static class SleepBean {
        /**
         * hasvalue : 2
         * starttime :
         * endtime :
         * alltime :
         */

        private String hasvalue;
        private String starttime;
        private String endtime;
        private String alltime;

        public String getHasvalue() {
            return hasvalue;
        }

        public void setHasvalue(String hasvalue) {
            this.hasvalue = hasvalue;
        }

        public String getStarttime() {
            return starttime;
        }

        public void setStarttime(String starttime) {
            this.starttime = starttime;
        }

        public String getEndtime() {
            return endtime;
        }

        public void setEndtime(String endtime) {
            this.endtime = endtime;
        }

        public String getAlltime() {
            return alltime;
        }

        public void setAlltime(String alltime) {
            this.alltime = alltime;
        }
    }

    public static class HrBean {
        /**
         * hasvalue : 1
         * time : 1528096500000
         * xinlvvalue : 56
         */

        private String hasvalue;
        private String time;
        private String xinlvvalue;

        public String getHasvalue() {
            return hasvalue;
        }

        public void setHasvalue(String hasvalue) {
            this.hasvalue = hasvalue;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getXinlvvalue() {
            return xinlvvalue;
        }

        public void setXinlvvalue(String xinlvvalue) {
            this.xinlvvalue = xinlvvalue;
        }
    }

    public static class WalkBean {
        /**
         * hasvalue : 1
         * time : 1528096612000
         * status : 0
         * walkvalue : 3744
         * kaluli : 182.72
         * walkkm : 2.61
         */

        private String hasvalue;
        private String time;
        private String status;
        private String walkvalue;
        private String kaluli;
        private String walkkm;

        public String getHasvalue() {
            return hasvalue;
        }

        public void setHasvalue(String hasvalue) {
            this.hasvalue = hasvalue;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getWalkvalue() {
            return walkvalue;
        }

        public void setWalkvalue(String walkvalue) {
            this.walkvalue = walkvalue;
        }

        public String getKaluli() {
            return kaluli;
        }

        public void setKaluli(String kaluli) {
            this.kaluli = kaluli;
        }

        public String getWalkkm() {
            return walkkm;
        }

        public void setWalkkm(String walkkm) {
            this.walkkm = walkkm;
        }
    }
}
